package com.woniu.gym.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class ModifyRecruitForm {
    private Integer recruitId;
    private String gymNum;
    @NotBlank(message = "招聘标题不能为空")
    private String jobTitle;

    @ApiModelProperty("招聘详情")
    private JobDetailsForm jobDetailsForm;

    @NotNull(message = "薪资不能为空")
    private BigDecimal jobSalary;

    @NotNull(message = "联系人不能为空")
    private String createName;

    @NotNull(message = "联系电话不能为空")
    private String createPhone;
}
